<template>
	<view class="seachBgc">
		<view class="seachBox me-fx-row-c">
			<input type="text" value="" class="input" placeholder="请输入关键词搜索" v-model="inputValue"/>
			<view class="seachBtn" @click="seachBtn">
				搜索
			</view>
		</view>
		<view class="list">
			<view class="listBox me-fx-row-start-c" v-for="(item, index) in dataList" :key="item.id">
				<image :src="item.avatar" mode="" class="imagePic"></image>
				<view class="listRight">
					<view class="me-fx-row-sa-c">
						<view class="me-fx-row-start-c listRightHL">
							<text class="nickName me-text-beyond">{{item.username}}</text>
							<text class="blurC" v-for="(items, index) in item.certify_tag_id_collection">{{items}}</text>
							<image src="../../static/img/vip.png" mode=""></image>
						</view>
						<image src="../../static/img/slh.png" mode="" class="classify" @click="classifyBtn" :data-id='item.id'></image>
					</view>
					<view class="me-fx-row-start-c listRightCenter">
						<text>{{item.city}}</text>
						<text>{{item.userInfo.age}}岁</text>
						<text>{{item.userInfo.job_id}}</text>
					</view>
					<view class="listRightBottom me-fx-row-start-c">
						<!-- <view class="adressBox bottomBox me-fx-row-start-c">
							<image src="../../static/img/adress.png" mode="" class="adress"></image>
							<view class=""> 
								325.6Km
							</view>
						</view> -->
						<view class="bottomBox" v-if="item.last_online_time">
							{{item.last_online_time}}
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
		export default {
			data() {
				return {
					inputValue:'',
					dataList:[]
				}
			},
			methods: {
				seachBtn(){
					
				},
			}
		}
</script>

<style>
	.seachBgc{
		width: 100%;
		height: 100%;
		background-color: #F5F5F5;
	}
	.seachBox{
		background-color: white;
		height: 128rpx;
	}
	.seachBox input{
		width:530rpx;
		height:80rpx;
		background:rgba(245,245,245,1);
		border-radius:8rpx;
		color:rgba(102,102,102,1);
		font-size: 30rpx;
		color:rgba(102,102,102,1);
		position: relative;
		padding-left: 77rpx;
		box-sizing: border-box;
		}
		.seachBox input::after{
			content: '';
			width: 30rpx;
			height: 30rpx;
			background: url(../../static/img/sousuo2.png) no-repeat;
			background-size: 100% 100%;
			position: absolute;
			top: 50%;
			left: 28rpx;
			transform: translateY(-50%);
		}
		.seachBox .seachBtn{
			width:150rpx;
			height:80rpx;
			background:rgba(45,40,255,1);
			border:1rpx solid rgba(45,40,255,1);
			border-radius:8rpx;
			color:rgba(255,255,255,1);
			font-size:30rpx;
			line-height: 80rpx;
			text-align: center;
			margin-left: 18rpx;
		}
		.list {
			padding: 16rpx;
			box-sizing: border-box;
			margin-bottom: 100rpx;
		}
		
		.listBox {
			margin-top: 20rpx;
		}
		
		.listBox .imagePic {
			display: block;
			width: 180rpx;
			height: 180rpx;
			border-radius: 6rpx;
		}
		
		.listBox .listRight {
			margin-left: 24rpx;
			width: 70%;
		}
		
		.listRightHL {
			width: 100%;
		}
		
		.listRightHL text,
		.listRightHL image {
			margin-right: 26rpx;
			 width: 20%; 
		}
		
		.listRightHL image {
			width: 50rpx;
			height: 25rpx;
			display: block;
		}
		
		.listRightCenter text {
			/* width:102rpx; */
			height: 40rpx;
			line-height: 40rpx;
			text-align: center;
			background: rgba(230, 229, 255, 1);
			border-radius: 20rpx;
			color: rgba(147, 147, 147, 1);
			font-size: 28rpx;
			padding: 0 10rpx;
			margin-top: 30rpx;
			margin-right: 19rpx;
		}
		
		.listRightBottom .bottomBox {
			height: 40rpx;
			line-height: 40rpx;
			text-align: center;
			background: rgba(229, 229, 229, 1);
			border-radius: 20px;
			color: rgba(147, 147, 147, 1);
			font-size: 28rpx;
			margin-top: 22rpx;
			margin-right: 20rpx;
			padding: 0 20rpx;
		}
		
		.nickName {
			font-weight: bold;
			color: rgba(68, 68, 68, 1);
		}
		
		.blurC {
			width: 60rpx;
			height: 30rpx;
			text-align: center;
			line-height: 30rpx;
			background: rgba(122, 42, 255, 1);
			border-radius: 15rpx;
			font-size: 22rpx;
			color: rgba(255, 254, 254, 1);
		}
		
		.classify {
			width: 36rpx;
			height: 8rpx;
		}
		
		.adressBox .adress {
			width: 15rpx;
			height: 18rpx;
		}
		
		.bottomFiex {
			width: 96%;
			position: fixed;
			bottom: 20rpx;
			left: 50%;
			transform: translateX(-50%);
			text-align: center;
			font-size: 36rpx;
		}
		
		.bottomFiex .FiexTop {
			background-color: white;
			border-radius: 6rpx;
		}
		
		.FiexTop view {
			height: 110rpx;
			line-height: 110rpx;
		}
		
		.FiexBottom {
			background-color: white;
			height: 110rpx;
			line-height: 110rpx;
			border-radius: 6rpx;
			margin-top: 30rpx;
		}
		
		.bottomBorder {
			border-top: 1rpx solid rgba(236, 235, 235, 1);
			;
		}
</style>
